// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App.vue'
import Element from 'element-ui'
import '@/assets/icons' // icon
import '@/assets/element-variables.scss'
import '@/assets/index.scss' // global css
import router from '@/router/index.js'
import Active from '@/utils/globalDretive.js'

Vue.config.productionTip = false

Vue.use(Element)
// Vue.use(router)

Vue.directive('active', Active)

/* eslint-disable no-new */
new Vue({
  router,
  el: '#app',
  components: { App },
  template: '<App/>'
})
